Skip to content

Update app.js#2

Open
pedro2mnunes wants to merge 1 commit intoJS-Beginners:masterfrom
pedro2mnunes:patch-2
Open

Update app.js#2
pedro2mnunes wants to merge 1 commit intoJS-Beginners:masterfrom
pedro2mnunes:patch-2

Conversation

@pedro2mnunes
Copy link
Copy Markdown

If the current time is 00:01 the program will show Good morning when it should be Good evening.
Usually:
Good Morning 5:00 AM — 11:59 AM
Good Afternoon 12:00 PM — 4:59 PM
Good Evening 5:00 PM — 4:59 AM
So, I suggest changing the IF clauses as proposed.

If the current time is 00:01 the program will show Good morning when it should be Good evening.
Usually:
Good Morning    5:00 AM — 11:59 AM
Good Afternoon        12:00 PM — 4:59 PM
Good Evening        5:00 PM — 4:59 AM
So, I suggest changing the IF clauses as proposed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant